package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("fintech_rent_bill_lines")
@KeySequence(value = "fintech_rent_bill_lines_SEQ")
@ApiModel(value = "FintechRentBillLines对象")
public class FintechRentBillLines implements Serializable{

       @ApiModelProperty(value = "app_key")
       private String appKey;

       @TableId(value = "bill_line_key", type = IdType.UUID)
       @ApiModelProperty(value = "订单行KEY 账单明细")
       private String billLineKey;

       @ApiModelProperty(value = "账单行信息")
       private String billKey;

       @ApiModelProperty(value = "第几期", example = "1")
       private Integer period;

       @ApiModelProperty(value = "本金", example = "1")
       private Integer periodAmount;

       @ApiModelProperty(value = "利息", example = "1")
       private Integer periodInterestAmount;

       @ApiModelProperty(value = "总罚息", example = "1")
       private Integer periodFineAmount;

       @ApiModelProperty(value = "利息利率")
       private BigDecimal interestRate;

       @ApiModelProperty(value = "代还利息", example = "1")
       private Integer unpayInterestAmount;

       @ApiModelProperty(value = "待还金额", example = "1")
       private Integer unpayAmount;

       @ApiModelProperty(value = "待还罚息", example = "1")
       private Integer unpayFineAmount;

       @ApiModelProperty(value = "减免金额", example = "1")
       private Integer breaksAmount;

       @ApiModelProperty(value = "已还本金", example = "1")
       private Integer repayAmount;

       @ApiModelProperty(value = "已还利息", example = "1")
       private Integer repayInterestAmount;

       @ApiModelProperty(value = "已还罚息", example = "1")
       private Integer repayFineAmount;

       @ApiModelProperty(value = "该期开始时间")
       private Date periodStartDate;

       @ApiModelProperty(value = "该期结束时间")
       private Date periodEndDate;

       @ApiModelProperty(value = "逾期天数", example = "1")
       private Integer overdueDays;

       @ApiModelProperty(value = "罚息利率")
       private BigDecimal fineRate;

       @ApiModelProperty(value = "还款状态: 00 未开始，01还款中 02已逾期 03正常还款完毕 04已提还 05 逾期终止")
       private String status;

       @ApiModelProperty(value = "还款时间")
       private Date payTime;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "备注")
       private String remark;

}
